﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" assembly="NHEntity" namespace="NHEntity">
  <class name="NHEntity.RoleEntity" table="[Role]">
    <id name="IdRole" column="IdRole">
      <generator class="identity"></generator>
    </id>
    <property name="RoleName" column="RoleName" type="String"/>
    <!--<bag name="UserRoleList" cascade="save-update" inverse="true">
      <key column="IdRole"/>
      <one-to-many class="NHEntity.UserRoleEntity"/>
    </bag>-->
  </class>
</hibernate-mapping>